package com.atguigu.campusintelligentassistantsystem.repository;

import com.atguigu.campusintelligentassistantsystem.entity.CampusCard;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface CampusCardRepository extends JpaRepository<CampusCard, Long> {
    Optional<CampusCard> findByStudentId(Long studentId);
}